|
which one is the best searching algorithm for XML documents
rabia
-- modified at 2:31 Wednesday 19th July, 2006
|
|
|
|
|
|
thank u
-- modified at 2:20 Wednesday 26th July, 2006
|
|
|
|
|
is this format corrrect <element attribute="val"> name <meaning>xyz</meaning></element>
rabia
-- modified at 2:23 Wednesday 19th July, 2006
|
|
|
|
|
Yes, that's a correct format. The " name " portion is considered a text node.
Logifusion[^]
|
|
|
|
|
Hi,
This is my XSD for Attributes here what i need is, if Name is present in my XML attribute then there should not be Data and Length, if Name is not there then i can have Data and Length (Length can be optional). How does it will be changed...
<xs:element name="VAR" maxOccurs ="unbounded">
<xs:complexType>
<xs:attribute name="Name" use ="required" type="xs:string" />
<xs:attribute name="Data" use ="required" type="xs:string" />
<xs:attribute name="Length" use ="optional" type="xs:integer" />
</xs:complexType>
</xs:element>
|
|
|
|
|
Hi Everybody,
If any body has an idea of how to do this.Here i have reference for common.xsd which is present in the same directory. I need to load common.xsd and will create a xml file which will have all teh elements of accountndo and common:IdentifiableNDO.
DEMO CODE :
<complexType name="AccountNDO">
<complexContent>
<extension base="common:IdentifiableNDO">
<sequence>
<element maxOccurs="1" minOccurs="1" name="OpeningDate" nillable="false" type="date"/>
<element maxOccurs="1" minOccurs="1" name="ClosingDate" nillable="false" type="date"/>
</sequence>
</extension>
</complexContent>
</complexType>
Namespace reference : This is included in the top of the file : Can we use it for reference.
<import namespace="http://www.xyz.com/wx/common" schemaLocation="Common.xsd"/>
-- modified at 6:35 Tuesday 18th July, 2006
|
|
|
|
|
Thanks all i have got the answer myself:
Read it with the help of streamreader and add reference of common.xsd in targetnamespace. Reader will load both files in. Load files in dataset and do whatever you want to do....
suneet
|
|
|
|
|
Hi,
I have the following XML data, is it right approach to have best XML. Still i need to have attributes as different sections and make use of it. Please go over and point what are all the chenges required to make it better.
<Cfg>
<CF>I</JTAG>
<CF>J</JTAG>
<EX name="WRITE">
<CA name="J" D="0" L="1">><</CALL>
</EX>
<SC>
<RUN name="WRITE" <</RUN>
</SC>
</Cfg>
|
|
|
|
|
Well to start with I would make sure it was well formed XML.. you know ... needs some of those <> characters in it!
"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?" Colin Angus Mackay in the C# forum
led mike
|
|
|
|
|
Hi,
I have the following XML data, is it right approach to have best XML. Still i need to have attributes as different sections and make use of it. Please go over and point what are all the chenges required to make it better.
<Cfg>
<CF>I</JTAG>
<CF>J</JTAG>
<EX name="WRITE">
<CA name="J" D="0" L="1">><</CALL>
</EX>
<SC>
<RUN name="WRITE" <</RUN>
</SC>
</Cfg>
|
|
|
|
|
Well it's still not "valid xml" but assuming those are typo problems it looks fine to me. Are you having a problem? Perhaps is you specified your problem it would help.
"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?" Colin Angus Mackay in the C# forum
led mike
|
|
|
|
|
led mike, don't be so cruel. Your answers doesn't really help but only giving the frustration. Why don't you put aside your own job for a few hours and code anything [b]sivaprakashshanmugam[/b] want ?
Best regards,
-----------
Igor Sukhovhttp://sukhov.net
|
|
|
|
|
Igor Sukhov wrote: Your answers doesn't really help but only giving the frustration.
Sorry I guess I don't understand what your question is. I already said the XML looks fine to me if it were valid.
|
|
|
|
|
He's saying you should do his homework for him. Like many a boss, you should know exactly what it is that he needs to accomplish and do that work for him.
Logifusion[^]
|
|
|
|
|
He wasn't even the OP! I just now figured that out thanks to your post. hehe... some times I am so thick
|
|
|
|
|
|
|
Hello,every body,
please help to tell me how to save XML as string, (I use VC++ to develop)Pug XML Parser.thanks!!!
regards
angus
|
|
|
|
|
Don't cross post
"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?" Colin Angus Mackay in the C# forum
led mike
|
|
|
|
|
Hi all,
I'm creating an xslfo file for printing and I have to use margin-top and margin-bottom. But I must ignore the previous margin-bottom to keep the blocks together. This margin-bottom only for last block of the page and pages can have more than one block. I cannot figure out which block is the last one of the page.
Is there any way to ignore margin-top or margin-bottom?
(I must use more than one block on each page and I'm creating all blocks with same way.)
Thanks all..
|
|
|
|
|
Hi all,
I am using FOP to generate pdf documents... It runs out of memory. I saw that a lot of people complained about this on the net but no one realy gave any answers on how to solve this.
One piece said that it could be the layout of the xsl but i tried everything to minimize the amount of for-each statements, and so on.
Some of my documents have 100+ pages. Most of my data is in tables, Would this be an issue?
I'm still reading up on this, if i find something i'll let you know. until then any help would be great. I don't know if posting my xsl file would be of any help?
He who laughs last...
|
|
|
|
|
It may be the JVM running out of memory - I've experienced that with FOP - try adding something like "-Xmx256m" or "-Xmx512m" to the Java command line that runs FOP.
|
|
|
|
|
Thank you but then i run out of virtual memory...
so yet again i run out of memory.
Does anybody know if there is a command that forces the fop OR JVM to release the Memory and then go on?
He who laughs last...
-- modified at 8:27 Monday 17th July, 2006
|
|
|
|
|
How much RAM and virtual memory does your PC have?
BTW - I have generated up to 700 pages wih FOP, mostly using tables - so I don't think your data is likely to be the problem.
|
|
|
|