[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Find several different attribute values on many e

Subject: Re: Find several different attribute values on many elements
From: "dvint dvint@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Feb 2024 23:13:41 -0000
Re:  Find several different attribute values on many  e
That form gave me troubles but (*.dita|*.xml) workedSent from my Verizon,
Samsung Galaxy smartphone
-------- Original message --------From: "Martin Honnen martin.honnen@xxxxxx"
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: 2/8/24  2:42 PM  (GMT-08:00)
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re:  Find several different
attribute values on many elements


    On 08/02/2024 23:11, dvint@xxxxxxxxx
      wrote:


      I also need to do this with both .dita and .xml files and I'm
      planning on making 2 collections, is there a way to do one
      collection()?





    From the Saxon documentation
https://www.saxonica.com/html/documentation12/sourcedocs/collections/collecti
on-directories.html
      so try ?select=*.(dita|xml)

    The
        pattern used in theB selectB parameter
        can use glob-like syntax, for exampleB *.xmlB selects
        all files with extension "xml". More generally, the pattern is
        converted to a regular expression by prepending "^",
        appending "$",
        replacing "."
        by "\.",
        "*"
        by ".*",
        and "?"
        by ".?",
        and it is then used to match the file names appearing in the
        directory using the Java regular expression rules. So, for
        example, you can writeB ?select=*.(xml|xhtml)B to
        match files with either of these two file extensions.





XSL-List info and archive

EasyUnsubscribe
(by email)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.