Re: [xsl] xsl] XSL and XMLSchema with "xsd:"

Subject: Re: [xsl] xsl] XSL and XMLSchema with "xsd:"
From: Edward Kennedy <ekennedy@xxxxxxxxx>
Date: Fri, 27 Apr 2001 13:57:03 -0400
Thank you, I hadn't done that.

But something else....

In the style sheet I am parsing an xml file, but I am trying to look in
the associated schema file(s) to get more information about particular
elements.  I have brought the schemas into the stylesheet this way:
  	<xsl:variable name="topschemafile" select="document('TopSchema.xsd')"
  	<xsl:variable name="genschemafile"
select="document('GeneralElements.xsd')" />

The I'm trying to grab information from them the following way:

	<xsl:for-each select="$topschemafile/schema">
		<xsl:text>found a schema line</xsl:text>
		<xsl:for-each select="annotation">
			<xsl:text>found a annotation line</xsl:text>
			<xsl:for-each select="appinfo" >
				<xsl:text>appinfo is : <xsl:value-of select="." /> </xsl:text>

This not getting anything from the schema files.

Any other ideas?


Eric van der Vlist wrote:
> Edward Kennedy wrote:
> >
> > When trying to get information out of here, XSL won't let me select
> > items with xsd: as part of the name.
> Had you declared the xsd prefix in your stylesheet ???
> Eric
> --
> See you in Hong Kong for www10:
> ------------------------------------------------------------------------
> Eric van der Vlist  
> ------------------------------------------------------------------------
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread