|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Re: XPATH
Subject: Re: Re: XPATH
From: "poppe chris" <pc_poppe@xxxxxxxxxxx>
Date: Tue, 18 Nov 2003 23:26:08 +0100
|
As I mentioned, i was having a Xpath issue but thought that this list would
have enough expertise to solve it even if it wasnt about xslt.
The fact that I'm using BSDL an extension on xml Schema didnt make it easier
on you guys,
anyway my problem is solved and in the future I will only use this list for
what its supposed to, XSLT :)
thanks for the attention,
greetings Chris
From: davec@xxxxxxxxxxxxxxxxxxxxxxx (Dave Cramer)
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: XPATH
Date: Tue, 18 Nov 2003 12:38:13 -0500
I'm wondering if the person is actually asking a Schema question--how do I
write a schema to assure that this element has the same value as that
element? I think they were hoping that XPath would provide a way of
enforcing such a condition . . .
Dave Cramer
On 17 Nov 2003 at 18:02, poppe chris wrote:
Hello,
I'm facing the following problem, it deals with xpath but I really hope
I
can solve it withouth xslt (so maybe this isnt the right place to post
it)
I have the following code
<xsd:element name="SUBSTREAM">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SUBSTREAM_length" type="xsd:short"/>
<xsd:element name="SUBSTREAM_interior" type="mctf:Sub"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
and I want to add the following:
<xsd:simpleType name="Sub">
<xsd:restriction base="bs1:byteRange">
<xsd:annotation>
<xsd:appinfo>
<bs2:length value="SomeXPathExpressionToSUBSTREAM_length"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:restriction>
</xsd:simpleType>
so i need help with that XPATH expression, cause i think its similar to
the xpath in xsl no?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
_________________________________________________________________
Ken je het magazine Glamo al? http://www.msn.be/glamo
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

| Current Thread |
- Re: XPATH
- yguaba - Tue, 18 Nov 2003 10:43:09 -0500 (EST)
- <Possible follow-ups>
- poppe chris - Tue, 18 Nov 2003 16:57:59 -0500 (EST)
- poppe chris - Wed, 19 Nov 2003 14:22:16 -0500 (EST) <=
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|