Skip to content

Commit e763a35

Browse files
committed
docs tweak
1 parent fe3781b commit e763a35

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docs/cli/docs.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,12 @@ Without `--json`, the command writes schema XML directly to stdout. With `--path
164164

165165
### Validating XML with xmllint
166166

167-
Use the `--path` flag to pass schema paths directly to `xmllint` for XML validation:
167+
Use the `--path` flag to pass schema paths directly to `xmllint` for XML validation (requires installation of `xmllint`):
168168

169169
```bash
170170
xmllint --schema "$(b2c docs schema catalog --path)" catalog.xml --noout
171171
```
172172

173-
This works because `--path` returns the real filesystem path, allowing `xmllint` to resolve relative schema imports (like `xml.xsd`) automatically.
174-
175173
---
176174

177175
## b2c docs download

0 commit comments

Comments
 (0)