xpath query question

Discussion in 'XML' started by razmaspaz@gmail.com, Mar 28, 2005.

  1. Guest

    I am attempting to select any courseUpload:AdoptedTitle from
    courseUpload:CampusInterfaceDataset where the courseUpload:SectionID of
    the AdoptedTitle is the same as the courseUpload:SectionID of the
    courseUpload:Section I am in. How do I write that xpath? I can't
    figure it out because of the namespace involved in the transform. I
    also don't know if the Adopted title is before or after the section.

    I am in the context of a Section which has a SectionID and is related
    to an AdoptedTitle by SectionID

    <xsl:forEach
    select="preceding-sibling::AdoptedTitle/courseUpload:SectionID =
    courseUpload:SectionID">

    Any thoughts?

    Thanks,
    Michael
    , Mar 28, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marvin_123456

    "Memory leak" in javax.xml.xpath.XPath

    Marvin_123456, Jul 29, 2005, in forum: Java
    Replies:
    4
    Views:
    1,963
    jan V
    Jul 29, 2005
  2. Alastair Cameron
    Replies:
    1
    Views:
    7,390
    SQL Server Development Team [MSFT]
    Jul 8, 2003
  3. Anna
    Replies:
    0
    Views:
    514
  4. goog
    Replies:
    0
    Views:
    503
  5. David Gordon

    xpath query query

    David Gordon, May 18, 2005, in forum: XML
    Replies:
    2
    Views:
    786
    David Gordon
    May 18, 2005
Loading...

Share This Page