pranav pranav

Greenhorn
+ Follow
since Mar 28, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by pranav pranav

Given below is portion of XSD for my enum type which is generated
from my java class.
The Error I get is here , any ideas why this would happen.
Thanks in advance.
Pranav.

<!-- Do not know how to create a sample instance for this part due to the following exception:java.lang.InstantiationException: TestPeriodType. Pls replace this with the correct XML before invoking the service. --->


<xsd:simpleType name="TestPeriodType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Day" />
<xsd:enumeration value="Week" />
<xsd:enumeration value="Month" />
<xsd:enumeration value="Year" />
<xsd:enumeration value="Explicit" />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="TestTerms">
<xsd:sequence>
<xsd:element type="stns:TestPeriodType" name="autoTestFrequency" minOccurs="1" nillable="true" maxOccurs="1" />
<xsd:element type="xsd:string" name="TestCurrency" minOccurs="1" nillable="true" maxOccurs="1" />
<xsd:element type="xsd:int" name="TestDayOfMonth" minOccurs="1" maxOccurs="1" />
<xsd:element type="xsd:float" name="TestPrice" minOccurs="1" nillable="true" maxOccurs="1" />
<xsd:element type="xsd ateTime" name="TestPriceExpire" minOccurs="1" nillable="true" maxOccurs="1" />
<xsd:element type="xsd:int" name="dontTestDuration" minOccurs="1" maxOccurs="1" />
<xsd:element type="xsd:int" name="minCommittment" minOccurs="1" maxOccurs="1" />
<xsd:element type="xsd ateTime" name="periodStartDate" minOccurs="1" nillable="true" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
17 years ago
check this , I am not sure
<xsl:for-each select="//servlet/init-param">
<xsl:variable name="initivalue">
<xsl:value-of select="param-name"/>
</xsl:variable>
<xsl:if test="$initivalue = 'listings'">
<xsl:variable name="paramvalue">
<xsl:value-of select="param-value"/>
</xsl:variable>
<xsl:if test="$paramvalue = 'true'">
<param-value>false</param-value>
</xsl:if>
</xsl:if>
</xsl:for-each>
Hi All,
Has any one designed a xml for a registration form ?
Any ideas on designing of form, with all input fields (checkbox, textarea,dropdown..)of html.
My idea is below... Any better/known ways to do it?
I want to know the pros and cons of this...
Thanks
<form>
<registration>
<field id="1" name="what's your fistname?" value="" contenttypeIDREF="1" required="y/n" order="1" hasref="y/n"/>
<field id="2" name="Do you like chocolate?" value="" contenttypeIDREF="2" choiceIDREF="300"/>
</registration>
<choice choiceID="300">
<choiceitem dbid="301">Yes</choiceitem>
<choiceitem dbid="301">No</choiceitem>
</choice>
<form>
Hi All,
Has any one designed a xml for a registration form ?
Any ideas on designing of form, with all input fields (checkbox, textarea,dropdown..)of html.
My idea is below... Any better/known ways to do it?
I want to know the pros and cons of this...
Thanks
<form>
<registration>
<field id="1" name="what's your fistname?" value="" contenttypeIDREF="1" required="y/n" order="1" hasref="y/n"/>
<field id="2" name="Do you like chocolate?" value="" contenttypeIDREF="2" choiceIDREF="300"/>
</registration>
<choice choiceID="300">
<choiceitem dbid="301">Yes</choiceitem>
<choiceitem dbid="301">No</choiceitem>
</choice>
<form>
Hi
Did you get the answer?
I am looking for the same thing...
Hi Thanks again...
I dont need a windows tool
I am trying use this... to find if the file has changed
http://www.bmsi.com/java/#diff

Progress is this....
There is a thread that generates htmls ...
if(newly generated file exits in production)
{
if(is this file changed)
move to production
else
dont move as it has not changed


}
else
{
move it to production
}

//Move all the changed files
18 years ago
Thanks for the info...
I dont know if you got the question right...

I need to compare the contents of the each file with same name in both the folders and say if the file is different from one another or same
18 years ago
Hi,
Do any one of you know a freeware written in java,or a sample code, or package that needs to be used,to compare two folders on the same machine and list the files that are different and that are same.
18 years ago