Skip to content

Commit dfbf4f2

Browse files
committed
more detail in the package-name readme
1 parent adb6d8f commit dfbf4f2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@ If your XSLT contains xsl:use-package instructions, XSLT package names are resol
9090

9191
`XSLT.resources.packages`
9292

93+
An example of XSLT package name settings:
94+
95+
```json
96+
"XSLT.resources.xsltPackages": [
97+
{ "name": "example.com.package1", "version": "2.0", "path": "included1.xsl"},
98+
{ "name": "example.com.package2", "version": "2.0", "path": "features/included2.xsl"},
99+
{ "name": "example.com.package3", "version": "2.0", "path": "features/not-exists.xsl"}
100+
]
101+
```
102+
103+
If file paths are relative they are resolved from the first Visual Studio Code Workspace folder
104+
93105
*Note: Currently, XSLT Package versions are not used in package-name lookup*
94106

95107
## Formatting

0 commit comments

Comments
 (0)