Hi Andreas,
could you give one example how i acces the childnotes of the merged xml
file?

xml11.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<mainstates>
    <state>State 1</state>
    <state>State 2</state>
</mainstates>

xml12.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<secstates>
    <statesec>State 3</statesec>
    <statesec>State 4</statesec>
</secstates>

<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
    <file href="xml11.xml" />
    <file href="xml12.xml" />
</root>

> > <xsl:variable name="merged" select="document(/root/file/@href)" />
> > ...
> > <xsl:apply-templates select="$merged/*">
> >   <xsl:sort select="..." />
> > </xsl:apply-templates>

In this example. How do i acces for example secstates/state?
what is the attribute of <xsl:value-of select="?">?


> > <root>
> >   <file href="xml11.xml" />
> >   <file href="xml12.xml" />
> >   ...
> > </root>
> >
> > - and in XSLT do
> >
> > <xsl:variable name="merged" select="document(/root/file/@href)" />
> > ...
> > <xsl:apply-templates select="$merged/*">
> >   <xsl:sort select="..." />
> > </xsl:apply-templates>
> >
> >
> > Greetz,
> >
> > Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to