less: begin(@n) not working?
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 280
- Joined: Thu Nov 28, 2013 9:32 am
- Location: Hamburg/Germany
- Contact:
less: begin(@n) not working?
Hi,
I wanted to define a less variable for the index I'm using within a number of :begin(n) and :after(n):
But I get the ParseError "Unrecognised Input".
Is this an intentional limitation?
Thanks and regards,
Patrik
I wanted to define a less variable for the index I'm using within a number of :begin(n) and :after(n):
Code: Select all
@index: 5;
*MyElement:before(@index) {
...
}
Is this an intentional limitation?
Thanks and regards,
Patrik
-
- Posts: 280
- Joined: Thu Nov 28, 2013 9:32 am
- Location: Hamburg/Germany
- Contact:
Re: less: begin(@n) not working?
Sorry, should have looked into the spec first...
Using the correct syntax (with curly braces) it works fine:
Patrik
Using the correct syntax (with curly braces) it works fine:
Code: Select all
@index: 5;
*MyElement:before(@{index}) {
...
}
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service